# 1.导包
import time
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
# 指定 Edge WebDriver 路径（根据你下载的路径修改）
webdriver_path = "H:\chromedriver64\msedgedriver.exe"

# 启动 Edge 浏览器
driver = webdriver.Edge(executable_path=webdriver_path)
# 3.输入网址
driver.get("http://121.43.169.97:8848/pageA.html")
# 4.页面操作
driver.find_element(By.TAG_NAME,"input").send_keys("admin")